package com.myBlog.pojo.dict;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper=false)
@TableName("tag")
public class Tag implements Serializable {

    @TableId(type = IdType.AUTO, value = "tagId")
    private Integer tagId;

    @TableField("tagName")
    private String tagName;
}
